package Controller;

import Model.Remote;
import Model.StatusMessage;


/**
 * Singleton pattern
 * @author pieterc
 */
public class ActionManager  {

    private static StatusMessage selected;

    private static DeleteAction deleteAction = new DeleteAction();
    private static FaveAction faveAction = new FaveAction();
    private static PostAction postAction = new PostAction();
    private static RefreshAction refreshAction = new RefreshAction();
    private static RepeatAction repeatAction = new RepeatAction();
    private static ConfigureAccountsAction configureAccountsAction = new ConfigureAccountsAction();

    private static Remote remote;

    public static ConfigureAccountsAction getConfigureAccountsAction() {
        return configureAccountsAction;
    }

    public static void setRemote(Remote r){
        remote = r;
    }

    public static DeleteAction getDeleteAction() {
        return deleteAction;
    }

    public static FaveAction getFaveAction() {
        return faveAction;
    }

    public static PostAction getPostAction() {
        return postAction;
    }

    public static RefreshAction getRefreshAction() {
        return refreshAction;
    }

    public static RepeatAction getRepeatAction() {
        return repeatAction;
    }

    public static StatusMessage getSelected() {
        return selected;
    }

    public static Remote getRemote(){
        return remote;
    }

    public static void setSelected(StatusMessage selected) {
        ActionManager.selected = selected;
    }

    public static void pause(){
        
    }
}
